package cn.itcast.nems.common.enumeration;

import cn.itcast.ic.common.exception.v2.bean.BizErrorBody;
import cn.itcast.ic.common.exception.v2.bean.BizStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum BaseErrorBodyEnum implements BizErrorBody {
    ICC_BAD_REQUEST(BizStatusEnum.INTERNAL_SERVER_ERROR, "调用ICC接口异常！"),
    REDIS_ERROR(BizStatusEnum.INTERNAL_SERVER_ERROR, "缓存异常！");;

    public BizStatusEnum status;
    public String message;
}
